<?php #20070415 http://www.framework.altervista.org/FrameWork/blocks/left/01_menu.inc
define('BLOCKMENU','1.00');

/************************************************************************/
/* FrameWork  test preview                                              */
/* ==================================================================== */
/*                                                                      */
/* This program is free software. You can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 2 of the License.       */
/************************************************************************/


loadlib("libPreviewbubble");
?>

<?php structure_openBlock("table block ","Menu",""); ?>
    <p>
<?php


    $fd=opendir("applications");
    while (false !== ($appname= readdir($fd))){
	if ($appname[0]!='.' && $appname[0]!='_')
	    $applist[$i++]=$appname;
    }
    closedir($fd);
    sort($applist);
    foreach($applist as $appelement){
	$apptitle=apptitle($appelement); $accesskey=GetAccessKey($apptitle, $appelement);
	$appname=appname();

	if ($appelement!=findapp("applications",$appname))
	    echo "<a class='previewlink' accesskey=\"$accesskey\" href='index.php?appname=$appelement'>$apptitle</a><br />";
	else
	    echo "<a accesskey=\"$accesskey\" href='index.php?appname=$appelement'><font color=black>$apptitle</font></a><br />";
    }
?>
</p>
<?php structure_closeBlock(); ?>
